package com.work.service;

import com.work.bean.Student;
import com.work.bean.Teacher;
import com.work.entities.MyClass;

import java.util.List;

/**
 * Created by Administrator on 2017/9/29.
 */
public interface UserService {

    public abstract boolean verifyStuName(String name);
    public abstract boolean verifyTeacherName(String name);

    public abstract boolean insertStudent(Student student);
    public abstract boolean insertTeacher(Teacher teacher);
    public abstract Student loginStudent(Student student);

    public abstract Teacher loginTeacher(Teacher teacher);
    public abstract List<MyClass> stuGetMyClass(int studentId);

    public abstract boolean updateStudentClassId(Student student);





}
